package com.zzxy.spring5.test;

import com.zzxy.spring5.service.impl.AccountServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:beans.9.xml")
public class test1 {
    @Autowired
    private AccountServiceImpl accountService;
    public void test(){
        accountService.transer("jack","rose",2000);
    }
}

